<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../lib/react.development.js"></script>
    <script src="../lib/react-dom.development.js"></script>
    <script src="../lib/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
<!--123-->
<script type="text/babel">
    const root = ReactDOM.createRoot(document.querySelector('#root'));
    const oDiv = (
        <div className="wrapper">我是最外边的盒子
            <div className="swiper">
                <h3>我是轮播图</h3>
                <p>我是文字</p>
            </div>
            <span>我是Span</span>
            <span>我也是Span</span>
        </div>
    )

    root.render(
        (
            <div className="wrapper">我是最外边的盒子
                <div className="swiper">
                    <h3>我是轮播图</h3>
                    <p>我是文字</p>
                </div>
                <span>我是Span</span>
                <span>我也是Span</span>
            </div>
        )
    );
</script>
</body>
</html>